#define  _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int add(int a,int b)
{
	int c = 0;
	 c =  a + b;
	return c;

}
int main()
{
	int s = 0;
	int w = 0;
	scanf("%d,%d", &s, &w);
	int sum = add(s, w);
	printf("%d\n", sum);
	return 0;
}